<template>
  <div class="userSearch-chunk">
    <!-- 头像 -->
    <div class="headImg">
      <img class="userImg" src="../../../../assets/logo.png" alt="" />
      <!-- <div class="userImg">是的吧</div> -->
    </div>
    <!-- 右边内容部分 -->
    <div class="headHeadline">
      <div class="h-title">标题</div>
      <!-- 粉丝和播放量 -->
      <div class="h-content">
        <!-- 浏览或者粉丝 -->
        <div class="h-browse">150粉丝</div>
        <!-- 讨论或者视频播放量 -->
        <div class="h-discuss">150视频</div>
      </div>
    </div>
    <div class="headAttention">
      <div class="headAttention-btn" v-if="attentionFlag">+关注</div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'FissionFriendsH5UsertabChunk',
  props: {
    // 标题
    title: {
      type: String
    },
    // 粉丝量
    userFans: {
      tpye: String
    },
    // 评论
    comment: {
      type: String
    },
    // 用户头像
    userImg: {
      tpye: String
    },
    attentionFlag: {
      type: Boolean,
      default: true
    }
  }
}
</script>

<style lang="scss" scoped>
.userSearch-chunk {
  display: flex;
  justify-content: space-around;
  margin: 10px 0;
  // margin: 15px;
  .headImg {
    flex: 2;
    .userImg {
      width: 40px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      border-radius: 100%;
      background-color: pink;
    }
  }
  .headHeadline {
    flex: 8;
    .h-title {
      font-size: 18px;
      font-weight: 600;
    }
    .h-content {
      display: flex;
      margin-top: 5px;
      .h-browse {
        margin-right: 10px;
      }
    }
  }
  .headAttention {
    flex: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    .headAttention-btn {
      width: 50px;
      text-align: center;
      padding: 4px;
      border-radius: 5px;
      border: 1px solid pink;
    }
  }
}
</style>
